﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CollegeWebsite.Models.StudentPreviousInfomation>" %>

     <tr>
        <td>
       
            <%= Html.TextBoxFor(model => model.University, new { @class = "University" })%>
            <%= Html.ValidationMessageFor(model=>model.University) %>
        </td>
        <td>
            <%= Html.TextBoxFor(model => model.EnrollmentNo, new { @class = "EnrollmentNo" })%>
            <%= Html.ValidationMessageFor(model=>model.EnrollmentNo) %>
        </td>
        <td>
            <%= Html.TextBoxFor(model => Model.Center, new { @class = "Center" })%>
            <%= Html.ValidationMessageFor(model=>model.Center) %>
        </td>
        <td>
            <%= Html.TextBoxFor(model => model.Stream, new { @class = "Stream" })%>
            <%= Html.ValidationMessageFor(model=>model.Stream) %>
        </td>
        <td>
            <%= Html.TextBoxFor(model => model.Field, new { @class = "Field" })%>
            <%= Html.ValidationMessageFor(model=>model.Field) %>
        </td>
        <td class="style4">
            <%= Html.TextBoxFor(model => model.MarksSecured, new { @class = "MarksSecured" })%>
            <%= Html.ValidationMessageFor(model=>model.MarksSecured) %>
        </td>
        <td >
            <%= Html.TextBoxFor(model => model.OutOfDate, new { @class = "OutOfDate" })%>
            <%= Html.ValidationMessageFor(model=>model.OutOfDate) %>
        </td>
        <td >
            <%=Html.TextBoxFor(model => model.ClassObitained, new { @class = "ClassObitained" })%>
            <%= Html.ValidationMessageFor(model=>model.ClassObitained) %>
        </td>
        <td>
            <input id="RemoveInfo" type="button" value="-" class = "RemoveInfo"
            />
            
        </td>
    </tr>
    <script type="text/javascript">
        $(document).ready(function() {
     
            $('.RemoveInfo').each(function() {
                $(this).click(function() {
                    var thisRow = $(this).parent().parent();
                    thisRow.effect('pulsate');

                    setTimeout(function() { thisRow.remove(); }, 1000);
                });

            });
        });

     
    </script>
   

    
    
  